/* const{http}=require("../../utils/http")
Page({
    data: {
        url:""
    },
    onLoad: function (options) {
        // console.log(options)
        
        var {id}=options;
        var url=`http://47.108.197.28:3000/mv/url?id=${id}`;
        http({
            url,
            success:res=>{
                console.log(res.data.data);
                var {url}=res.data.data;
                
                this.setData({url})
                
            }
        })
       

    }
}) */
const {getMvDetailHttp} = require("../../utils/http")
Page({

   
    data: {
       url:""
    },

   
    onLoad: function (options) {
        var {id} = options;
        getMvDetailHttp(id).then(res=>{

            
            this.handleDetailData(res)
        })
        
    
    },
    handleDetailData(res){
        var {url} = res.data.data
                this.setData({
                    url,
                })
    }
   


})